<div class="breadcrumb">
<%if params[:action]=='index'%>
    <%=_('Admin')%>
<%end%>
<%if params[:action]=~/album_list|album_page|new_photo|edit_photo|gallery_settings|update|tag_settings/%>
    <%= link_to _("Admin"), :controller=>"admin", :action=>"index" %> &raquo;
<%end%>
<%if params[:action]=='gallery_settings'%>
    <%=_('Settings')%>
<%end%>
<%if params[:action]=='tag_settings'%>
    <%=_('Tags')%>
<%end%>
<%if params[:action]=~/album_list/%>
    <%=_('Albums')%>
<%end%>
<%if params[:action]=~/album_page|new_photo|edit_photo|update|edit/%>
    <%= link_to _('Albums'), :controller=>"admin", :action=>"album_list" %> &raquo; 
<%end%>
<%if params[:action]=~/album_page/%>
    <%= @album.title%>
<%end%>
<%if params[:action]=~/new_photo|edit_photo|update|edit/%>
    <%= link_to "#{@album.title}", :controller=>"admin", :action=>"album_page", :id=>@album %> &raquo;
<%end%>
<%if params[:action]=~/edit_photo|update/%>
    <%=@photo.title%>
<%end%>
<%if params[:action]=~/new_photo/%>
   <%= _('New photo') %>
<%end%>
</div>
